PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Tunnel Spheres / Martin - journey into space.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980001 |
| 8 | fDecay=0.500000 |
| 9 | fVideoEchoZoom=0.999998 |
| 10 | fVideoEchoAlpha=0.500000 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.002705 |
| 26 | fWaveScale=1.291486 |
| 27 | fWaveSmoothing=0.450000 |
| 28 | fWaveParam=0.080000 |
| 29 | fModWaveAlphaStart=0.000000 |
| 30 | fModWaveAlphaEnd=1.320000 |
| 31 | fWarpAnimSpeed=1.459500 |
| 32 | fWarpScale=2.006700 |
| 33 | fZoomExponent=1.000000 |
| 34 | fShader=0.000000 |
| 35 | zoom=0.999900 |
| 36 | rot=0.000000 |
| 37 | cx=0.500000 |
| 38 | cy=0.500000 |
| 39 | dx=0.000000 |
| 40 | dy=0.000000 |
| 41 | warp=0.010000 |
| 42 | sx=0.999900 |
| 43 | sy=1.000000 |
| 44 | wave_r=0.000000 |
| 45 | wave_g=0.990000 |
| 46 | wave_b=1.000000 |
| 47 | wave_x=0.500000 |
| 48 | wave_y=0.500000 |
| 49 | ob_size=0.010000 |
| 50 | ob_r=1.000000 |
| 51 | ob_g=1.000000 |
| 52 | ob_b=1.000000 |
| 53 | ob_a=0.000000 |
| 54 | ib_size=0.110000 |
| 55 | ib_r=0.250000 |
| 56 | ib_g=0.250000 |
| 57 | ib_b=0.250000 |
| 58 | ib_a=0.000000 |
| 59 | nMotionVectorsX=64.000000 |
| 60 | nMotionVectorsY=48.000000 |
| 61 | mv_dx=0.000000 |
| 62 | mv_dy=0.000000 |
| 63 | mv_l=1.850000 |
| 64 | mv_r=0.499900 |
| 65 | mv_g=0.499900 |
| 66 | mv_b=0.499900 |
| 67 | mv_a=0.000000 |
| 68 | b1n=0.000000 |
| 69 | b2n=0.000000 |
| 70 | b3n=0.000000 |
| 71 | b1x=1.000000 |
| 72 | b2x=1.000000 |
| 73 | b3x=1.000000 |
| 74 | b1ed=0.000000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=120 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.891519 |
| 83 | wavecode_0_smoothing=0.820000 |
| 84 | wavecode_0_r=1.000000 |
| 85 | wavecode_0_g=1.000000 |
| 86 | wavecode_0_b=1.000000 |
| 87 | wavecode_0_a=0.600000 |
| 88 | wave_0_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 89 | wave_0_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 90 | wave_0_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 91 | wave_0_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 92 | wave_0_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 93 | wave_0_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 94 | wave_0_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 95 | wave_0_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 96 | wave_0_init9= |
| 97 | wave_0_per_frame1=t2 = t2 + bass_att; |
| 98 | wave_0_per_point1=k1 = (sample*100)%8; |
| 99 | wave_0_per_point2=k2 = bnot (k1); |
| 100 | wave_0_per_point3=xi = value1*k2 + xi*(1-k2); |
| 101 | wave_0_per_point4=yi = value2*(1-k2) + yi*k2; |
| 102 | wave_0_per_point5= |
| 103 | wave_0_per_point6=dx = dx*.99 + xi; |
| 104 | wave_0_per_point7=dy = dy*.99 + yi; |
| 105 | wave_0_per_point8= |
| 106 | wave_0_per_point9=x = .5 + xi/2; |
| 107 | wave_0_per_point10=y = .5 + yi/2; |
| 108 | wave_0_per_point11= |
| 109 | wave_0_per_point12=a = q22/8; |
| 110 | wave_0_per_point13=a = min(a,.4); |
| 111 | wavecode_1_enabled=0 |
| 112 | wavecode_1_samples=512 |
| 113 | wavecode_1_sep=0 |
| 114 | wavecode_1_bSpectrum=0 |
| 115 | wavecode_1_bUseDots=1 |
| 116 | wavecode_1_bDrawThick=0 |
| 117 | wavecode_1_bAdditive=0 |
| 118 | wavecode_1_scaling=0.891519 |
| 119 | wavecode_1_smoothing=0.820000 |
| 120 | wavecode_1_r=1.000000 |
| 121 | wavecode_1_g=1.000000 |
| 122 | wavecode_1_b=1.000000 |
| 123 | wavecode_1_a=0.100000 |
| 124 | wave_1_per_point1=x = sample; |
| 125 | wave_1_per_point2=y = 1-sample; |
| 126 | wave_1_per_point3=a = (q24 * equal(q27%4,0)); |
| 127 | wave_1_per_point4= |
| 128 | wavecode_2_enabled=0 |
| 129 | wavecode_2_samples=512 |
| 130 | wavecode_2_sep=0 |
| 131 | wavecode_2_bSpectrum=0 |
| 132 | wavecode_2_bUseDots=0 |
| 133 | wavecode_2_bDrawThick=1 |
| 134 | wavecode_2_bAdditive=0 |
| 135 | wavecode_2_scaling=0.891519 |
| 136 | wavecode_2_smoothing=0.820000 |
| 137 | wavecode_2_r=0.000000 |
| 138 | wavecode_2_g=0.200000 |
| 139 | wavecode_2_b=0.000000 |
| 140 | wavecode_2_a=1.000000 |
| 141 | wavecode_3_enabled=0 |
| 142 | wavecode_3_samples=512 |
| 143 | wavecode_3_sep=0 |
| 144 | wavecode_3_bSpectrum=1 |
| 145 | wavecode_3_bUseDots=1 |
| 146 | wavecode_3_bDrawThick=0 |
| 147 | wavecode_3_bAdditive=0 |
| 148 | wavecode_3_scaling=1.000000 |
| 149 | wavecode_3_smoothing=0.500000 |
| 150 | wavecode_3_r=1.000000 |
| 151 | wavecode_3_g=1.000000 |
| 152 | wavecode_3_b=1.000000 |
| 153 | wavecode_3_a=1.000000 |
| 154 | shapecode_0_enabled=1 |
| 155 | shapecode_0_sides=44 |
| 156 | shapecode_0_additive=0 |
| 157 | shapecode_0_thickOutline=0 |
| 158 | shapecode_0_textured=0 |
| 159 | shapecode_0_x=0.500000 |
| 160 | shapecode_0_y=0.500000 |
| 161 | shapecode_0_rad=0.108525 |
| 162 | shapecode_0_ang=0.000000 |
| 163 | shapecode_0_tex_ang=1.005310 |
| 164 | shapecode_0_tex_zoom=1.531168 |
| 165 | shapecode_0_r=1.000000 |
| 166 | shapecode_0_g=1.000000 |
| 167 | shapecode_0_b=1.000000 |
| 168 | shapecode_0_a=1.000000 |
| 169 | shapecode_0_r2=0.830000 |
| 170 | shapecode_0_g2=0.930000 |
| 171 | shapecode_0_b2=0.800000 |
| 172 | shapecode_0_a2=0.000000 |
| 173 | shapecode_0_border_r=1.000000 |
| 174 | shapecode_0_border_g=1.000000 |
| 175 | shapecode_0_border_b=0.000000 |
| 176 | shapecode_0_border_a=0.000000 |
| 177 | shape_0_per_frame1=trig = q24 * equal(q27%4,0); |
| 178 | shape_0_per_frame2= |
| 179 | shape_0_per_frame3=dist = bnot(trig)*(dist+q10/fps); |
| 180 | shape_0_per_frame4= |
| 181 | shape_0_per_frame5=x = .5 - ( 1/(dist+1))/2; |
| 182 | shape_0_per_frame6=y = 1-x; |
| 183 | shape_0_per_frame7= |
| 184 | shape_0_per_frame8=r0 = bnot(trig)*r0 + trig*rand(100)/100; |
| 185 | shape_0_per_frame9=g0 = bnot(trig)*g0 + trig*rand(100)/100; |
| 186 | shape_0_per_frame10=b0 = bnot(trig)*b0 + trig*rand(100)/100; |
| 187 | shape_0_per_frame11= |
| 188 | shape_0_per_frame12=cmax = max(max(r0,g0),b0); |
| 189 | shape_0_per_frame13= |
| 190 | shape_0_per_frame14=r = r0/cmax; r2 = r; |
| 191 | shape_0_per_frame15=g = g0/cmax; g2 = g; |
| 192 | shape_0_per_frame16=b = b0/cmax; b2 = b; |
| 193 | shape_0_per_frame17= |
| 194 | shape_0_per_frame18=rad = q9/(dist+1); |
| 195 | shape_0_per_frame19=//rad = .2; |
| 196 | shape_0_per_frame20=a = 1 / (1+dist/4) ; a2 = 0; |
| 197 | shapecode_1_enabled=1 |
| 198 | shapecode_1_sides=34 |
| 199 | shapecode_1_additive=0 |
| 200 | shapecode_1_thickOutline=1 |
| 201 | shapecode_1_textured=0 |
| 202 | shapecode_1_x=0.400000 |
| 203 | shapecode_1_y=0.500000 |
| 204 | shapecode_1_rad=2.366958 |
| 205 | shapecode_1_ang=0.000000 |
| 206 | shapecode_1_tex_ang=3.455753 |
| 207 | shapecode_1_tex_zoom=0.993053 |
| 208 | shapecode_1_r=0.500000 |
| 209 | shapecode_1_g=0.000000 |
| 210 | shapecode_1_b=1.000000 |
| 211 | shapecode_1_a=0.200000 |
| 212 | shapecode_1_r2=0.700000 |
| 213 | shapecode_1_g2=0.400000 |
| 214 | shapecode_1_b2=0.000000 |
| 215 | shapecode_1_a2=0.000000 |
| 216 | shapecode_1_border_r=0.500000 |
| 217 | shapecode_1_border_g=0.500000 |
| 218 | shapecode_1_border_b=0.500000 |
| 219 | shapecode_1_border_a=0.000000 |
| 220 | shape_1_per_frame1=trig = q24 * equal(q27%4,2); |
| 221 | shape_1_per_frame2= |
| 222 | shape_1_per_frame3=dist = bnot(trig)*(dist+q10/fps); |
| 223 | shape_1_per_frame4= |
| 224 | shape_1_per_frame5=x = .5 + ( 1/(dist+1))/1.9; |
| 225 | shape_1_per_frame6=y = 1-x; |
| 226 | shape_1_per_frame7= |
| 227 | shape_1_per_frame8=r0 = bnot(trig)*r0 + trig*rand(100)/100; |
| 228 | shape_1_per_frame9=g0 = bnot(trig)*g0 + trig*rand(100)/100; |
| 229 | shape_1_per_frame10=b0 = bnot(trig)*b0 + trig*rand(100)/100; |
| 230 | shape_1_per_frame11= |
| 231 | shape_1_per_frame12=cmax = max(max(r0,g0),b0); |
| 232 | shape_1_per_frame13= |
| 233 | shape_1_per_frame14=r = r0/cmax; r2 = r; |
| 234 | shape_1_per_frame15=g = g0/cmax; g2 = g; |
| 235 | shape_1_per_frame16=b = b0/cmax; b2 = b; |
| 236 | shape_1_per_frame17= |
| 237 | shape_1_per_frame18=rad = q9/(dist+1); |
| 238 | shape_1_per_frame19=//rad = .2; |
| 239 | shape_1_per_frame20=a = 1 / (1+dist/4) ; a2 = 0; |
| 240 | shapecode_2_enabled=1 |
| 241 | shapecode_2_sides=44 |
| 242 | shapecode_2_additive=0 |
| 243 | shapecode_2_thickOutline=0 |
| 244 | shapecode_2_textured=0 |
| 245 | shapecode_2_x=0.503000 |
| 246 | shapecode_2_y=0.500000 |
| 247 | shapecode_2_rad=0.038857 |
| 248 | shapecode_2_ang=0.000000 |
| 249 | shapecode_2_tex_ang=0.000000 |
| 250 | shapecode_2_tex_zoom=0.609857 |
| 251 | shapecode_2_r=1.000000 |
| 252 | shapecode_2_g=0.100000 |
| 253 | shapecode_2_b=0.000000 |
| 254 | shapecode_2_a=0.900000 |
| 255 | shapecode_2_r2=1.000000 |
| 256 | shapecode_2_g2=1.000000 |
| 257 | shapecode_2_b2=1.000000 |
| 258 | shapecode_2_a2=0.000000 |
| 259 | shapecode_2_border_r=1.000000 |
| 260 | shapecode_2_border_g=1.000000 |
| 261 | shapecode_2_border_b=1.000000 |
| 262 | shapecode_2_border_a=0.000000 |
| 263 | shape_2_per_frame1=trig = q24 * equal(q27%4,1); |
| 264 | shape_2_per_frame2= |
| 265 | shape_2_per_frame3=dist = bnot(trig)*(dist+q10/fps); |
| 266 | shape_2_per_frame4= |
| 267 | shape_2_per_frame5=x = .5 - ( 1/(dist+1))/1.9; |
| 268 | shape_2_per_frame6=y = x; |
| 269 | shape_2_per_frame7= |
| 270 | shape_2_per_frame8=r0 = bnot(trig)*r0 + trig*rand(100)/100; |
| 271 | shape_2_per_frame9=g0 = bnot(trig)*g0 + trig*rand(100)/100; |
| 272 | shape_2_per_frame10=b0 = bnot(trig)*b0 + trig*rand(100)/100; |
| 273 | shape_2_per_frame11= |
| 274 | shape_2_per_frame12=cmax = max(max(r0,g0),b0); |
| 275 | shape_2_per_frame13= |
| 276 | shape_2_per_frame14=r = r0/cmax; r2 = r; |
| 277 | shape_2_per_frame15=g = g0/cmax; g2 = g; |
| 278 | shape_2_per_frame16=b = b0/cmax; b2 = b; |
| 279 | shape_2_per_frame17= |
| 280 | shape_2_per_frame18=rad = q9/(dist+1); |
| 281 | shape_2_per_frame19=//rad = .2; |
| 282 | shape_2_per_frame20=a = 1 / (1+dist/4) ; a2 = 0; |
| 283 | shapecode_3_enabled=1 |
| 284 | shapecode_3_sides=63 |
| 285 | shapecode_3_additive=0 |
| 286 | shapecode_3_thickOutline=0 |
| 287 | shapecode_3_textured=0 |
| 288 | shapecode_3_x=0.500000 |
| 289 | shapecode_3_y=1.000000 |
| 290 | shapecode_3_rad=0.548217 |
| 291 | shapecode_3_ang=0.000000 |
| 292 | shapecode_3_tex_ang=0.000000 |
| 293 | shapecode_3_tex_zoom=2.223327 |
| 294 | shapecode_3_r=1.000000 |
| 295 | shapecode_3_g=1.000000 |
| 296 | shapecode_3_b=1.000000 |
| 297 | shapecode_3_a=1.000000 |
| 298 | shapecode_3_r2=1.000000 |
| 299 | shapecode_3_g2=1.000000 |
| 300 | shapecode_3_b2=1.000000 |
| 301 | shapecode_3_a2=0.000000 |
| 302 | shapecode_3_border_r=0.500000 |
| 303 | shapecode_3_border_g=0.500000 |
| 304 | shapecode_3_border_b=0.500000 |
| 305 | shapecode_3_border_a=0.000000 |
| 306 | shape_3_per_frame1=trig = q24 * equal(q27%4,3); |
| 307 | shape_3_per_frame2= |
| 308 | shape_3_per_frame3=dist = bnot(trig)*(dist+q10/fps); |
| 309 | shape_3_per_frame4= |
| 310 | shape_3_per_frame5=x = .5 + ( 1/(dist+1))/1.9; |
| 311 | shape_3_per_frame6=y = x; |
| 312 | shape_3_per_frame7= |
| 313 | shape_3_per_frame8=r0 = bnot(trig)*r0 + trig*rand(100)/100; |
| 314 | shape_3_per_frame9=g0 = bnot(trig)*g0 + trig*rand(100)/100; |
| 315 | shape_3_per_frame10=b0 = bnot(trig)*b0 + trig*rand(100)/100; |
| 316 | shape_3_per_frame11= |
| 317 | shape_3_per_frame12=cmax = max(max(r0,g0),b0); |
| 318 | shape_3_per_frame13= |
| 319 | shape_3_per_frame14=r = r0/cmax; r2 = r; |
| 320 | shape_3_per_frame15=g = g0/cmax; g2 = g; |
| 321 | shape_3_per_frame16=b = b0/cmax; b2 = b; |
| 322 | shape_3_per_frame17= |
| 323 | shape_3_per_frame18=rad = q9/(dist+1); |
| 324 | shape_3_per_frame19=//rad = .2; |
| 325 | shape_3_per_frame20=a = 1 / (1+dist/4) ; a2 = 0; |
| 326 | per_frame_1=dec_med = pow (0.5, 30/fps); |
| 327 | per_frame_2=dec_slow = pow (0.9, 30/fps); |
| 328 | per_frame_3=beat = max (max (bass, mid), treb); |
| 329 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 330 | per_frame_5=is_beat = above(beat, .2+avg+peak) * above (time, t0+.2); |
| 331 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 332 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 333 | per_frame_8=index = (index + is_beat) %16; |
| 334 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%12; |
| 335 | per_frame_10= |
| 336 | per_frame_11=q20 = avg; |
| 337 | per_frame_12=q21 = beat; |
| 338 | per_frame_13=q22 = peak; |
| 339 | per_frame_14=q24 = is_beat; |
| 340 | per_frame_15=q26 = bass_att + mid_att + treb_att ; |
| 341 | per_frame_16=q27 = index + 1; |
| 342 | per_frame_17=q28 = index2; |
| 343 | per_frame_18= |
| 344 | per_frame_19=k1 = is_beat*equal(index%2,0); |
| 345 | per_frame_20=p1 = k1*(p1+1) + (1-k1)*p1; |
| 346 | per_frame_21=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 347 | per_frame_22=rott = p2 * 3.1416/4; |
| 348 | per_frame_23= |
| 349 | per_frame_24=q1 = cos(rott); |
| 350 | per_frame_25=q2 = sin(rott); |
| 351 | per_frame_26=q3 = -q2; |
| 352 | per_frame_27=q4 = q1; |
| 353 | per_frame_28= |
| 354 | per_frame_29=q10 = 20; //speed shot |
| 355 | per_frame_30=q9 = .8; //brightness shot |
| 356 | per_frame_31= |
| 357 | per_frame_32= |
| 358 | per_frame_33= |
| 359 | per_frame_34=//*********************** |
| 360 | per_frame_35=trig1= q24*bnot(index%4); |
| 361 | per_frame_36=trig2= q24*bnot((index+4)%16); |
| 362 | per_frame_37=trig3= q24*bnot((index+8)%16); |
| 363 | per_frame_38= |
| 364 | per_frame_39= |
| 365 | per_frame_40=q5 = cos(time/3.7); |
| 366 | per_frame_41=q6 = .3*sin(time/2); |
| 367 | per_frame_42=q7 = .3*sin(time/1.5); |
| 368 | per_frame_43= |
| 369 | per_frame_44= |
| 370 | per_frame_45= |
| 371 | per_frame_46=//************** |
| 372 | per_frame_47=trel = trel + (1+q22)/fps; |
| 373 | per_frame_48=z0 = 4; |
| 374 | per_frame_49=q11 = .3*sin(trel*2); |
| 375 | per_frame_50=q12 = .1*cos(trel*1.5); |
| 376 | per_frame_51=q13 = 2+z0 + 6*sin(trel*1.1); |
| 377 | per_frame_52= |
| 378 | per_frame_53=q14 = .3*sin(trel*2.4); |
| 379 | per_frame_54=q15 = .2*cos(trel*1) ; |
| 380 | per_frame_55=q16 = 4+z0 + 3*sin(trel*1.6); |
| 381 | per_frame_56= |
| 382 | per_frame_57=q17 = .3*sin(trel*1); |
| 383 | per_frame_58=q18 = .2*cos(trel*1.2); |
| 384 | per_frame_59=q19 = 3+z0 + sin(trel*.8); |
| 385 | per_pixel_1=rot = .05 * q1 * (1-rad); |
| 386 | warp_1=`sampler sampler_worms; |
| 387 | warp_2=`float3 color, mus; |
| 388 | warp_3=`float dx,dy; |
| 389 | warp_4=`shader_body { |
| 390 | warp_5=` |
| 391 | warp_6=` |
| 392 | warp_7=`float2 uv1 = (uv-.5) * aspect.xy; |
| 393 | warp_8=` |
| 394 | warp_9=`float2 uv6 = uv1; |
| 395 | warp_10=`float z = q31*length((abs(uv1.x)-abs(uv1.y))); |
| 396 | warp_11=`float2 d = normalize(uv1); |
| 397 | warp_12=`float2 rs = clamp(tan(z)*d,-2,2); |
| 398 | warp_13=`uv += .1*lum(GetBlur1(uv))*d; |
| 399 | warp_14=`uv -= rs/(20+0*q27); |
| 400 | warp_15=` |
| 401 | warp_16=`uv6 = .4*sin(uv*14+rand_frame); |
| 402 | warp_17=`mus = .01/(length(uv6)); |
| 403 | warp_18=`mus *= .3*(1+roam_cos); |
| 404 | warp_19=`//mus = .2; |
| 405 | warp_20=` |
| 406 | warp_21=`float3 crisp= tex2D(sampler_main,(uv-.5)*(.95+.1*q28*z)+.5); |
| 407 | warp_22=` |
| 408 | warp_23=`float3 ret1 = crisp + mus; |
| 409 | warp_24=` |
| 410 | warp_25=`q25 = 1; |
| 411 | warp_26=`ret = q25*(ret1*.99-.025) + (1-q25)* GetPixel(uv_orig); |
| 412 | warp_27=` |
| 413 | warp_28=`} |
| 414 | comp_1=`sampler sampler_pw_noise_lq; |
| 415 | comp_2=` |
| 416 | comp_3=`float rad1, rad2, rad3, mask1, mask2, mask3; |
| 417 | comp_4=`float2 rs, rs0, uv2, uv3,uv4, rsk, Kugel1, Kugel2, Kugel3,dz1; |
| 418 | comp_5=`float3 noise, ret1, ret2; |
| 419 | comp_6=` |
| 420 | comp_7=`shader_body { |
| 421 | comp_8=`float2 uv6 = uv; |
| 422 | comp_9=`uv = uv + float2 (q6,q7); |
| 423 | comp_10=`float2 uv1 = (uv-.5 )*aspect.xy; |
| 424 | comp_11=` |
| 425 | comp_12=`//Kugel1 |
| 426 | comp_13=`rsk = (uv1 + float2 (q11,q12)) ; |
| 427 | comp_14=`dz1 = normalize(rsk); |
| 428 | comp_15=`rad1 = 8*(q13)*length (rsk) ; |
| 429 | comp_16=`uv4 = tan(rad1)*dz1; |
| 430 | comp_17=`mask1 = saturate(10-7*rad1); |
| 431 | comp_18=`Kugel1 = uv4*mask1/(1+q13); |
| 432 | comp_19=` |
| 433 | comp_20=`//Kugel2 |
| 434 | comp_21=`rsk = (uv1 + float2 (q14,q15)) ; |
| 435 | comp_22=`dz1 = normalize(rsk); |
| 436 | comp_23=`rad2 = 2*(1+q16)*length (rsk+.1) ; |
| 437 | comp_24=`uv4 = tan(rad2)*dz1; |
| 438 | comp_25=`mask2 = saturate(10-7*rad2); |
| 439 | comp_26=`Kugel2 = uv4*mask2/(1+q16); |
| 440 | comp_27=` |
| 441 | comp_28=`//Kugel3 |
| 442 | comp_29=`rsk = (uv1 + float2 (q17,q18)) ; |
| 443 | comp_30=`dz1 = normalize(rsk); |
| 444 | comp_31=`rad3 = 4*(1+q19)*length (rsk) ; |
| 445 | comp_32=`uv4 = tan(rad3)*dz1; |
| 446 | comp_33=`mask3 = saturate(10-7*rad3); |
| 447 | comp_34=`Kugel3 = uv4*mask3/(1+q19); |
| 448 | comp_35=` |
| 449 | comp_36=`uv1 += (Kugel1 + Kugel2 + Kugel3)*.5; |
| 450 | comp_37=`float z = 1/(uv1.y+uv1.x*q5); |
| 451 | comp_38=`rs0.x = (uv1.x)*z; |
| 452 | comp_39=`rs0.y = z/4; |
| 453 | comp_40=`rs.x = rs0.x ; |
| 454 | comp_41=`rs.y = rs0.y + time*2; |
| 455 | comp_42=` |
| 456 | comp_43=`//uv1 = mul(uv1,float2x2(_qa)); |
| 457 | comp_44=`noise = lum(tex2D(sampler_noise_lq,rs/16)); |
| 458 | comp_45=` |
| 459 | comp_46=`float mask = saturate(4/z); |
| 460 | comp_47=`uv2 = .4*uv1 * (length(uv1)+1); |
| 461 | comp_48=`uv2 *= aspect.yx; |
| 462 | comp_49=`uv3 =frac(uv2+.5-(noise-.5)*mask*.2); |
| 463 | comp_50=` |
| 464 | comp_51=`float xx = uv6.x*2562; |
| 465 | comp_52=`float yy = uv6.y*2562; |
| 466 | comp_53=`float ran = (xx*yy)% 13333 ; |
| 467 | comp_54=`float3 stars = saturate(1/ran) * (1-4*mask); |
| 468 | comp_55=` |
| 469 | comp_56=` |
| 470 | comp_57=`ret1 = tex2D (sampler_main, uv3)*2; |
| 471 | comp_58=`ret1 += .2*q22*(q27%3)/rad1+ |
| 472 | comp_59=` .2*q22*((q27+1)%3)/rad2+ |
| 473 | comp_60=` .2*q22*((q27+2)%3)/rad3; |
| 474 | comp_61=`ret1 += .4*mask1*GetBlur1(0) + .4*mask2*GetBlur1(0.1) + .4*mask3*GetBlur1(0.2); |
| 475 | comp_62=`ret = max(ret1,stars); |
| 476 | comp_63=`} |